package zjl.base;

import zjl.graph.Path;

import java.util.List;

public class BizSolution {

    private int id = 0;

    private BizRequest request;
    private Path datapath;
    private List<SchedEntry> rscheds;
    private List<SchedEntry> sscheds;

    public BizSolution(BizRequest br) {
        this.request = br;
        this.id = this.request.getId();
    }

    public int getId() {
        return id;
    }

    public BizRequest getRequest() {
        return request;
    }

    public void setRequest(BizRequest request) {
        this.request = request;
    }

    public Path getDatapath() {
        return datapath;
    }

    public void setDatapath(Path datapath) {
        this.datapath = datapath;
    }

    public List<SchedEntry> getRscheds() {
        return rscheds;
    }

    public void setRscheds(List<SchedEntry> rscheds) {
        this.rscheds = rscheds;
    }

    public List<SchedEntry> getSscheds() {
        return sscheds;
    }

    public void setSscheds(List<SchedEntry> sscheds) {
        this.sscheds = sscheds;
    }
}
